package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TProdtech对象", description="产品工艺表  (工序表)")
public class TProdtech implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "工艺代号")
    private String bn;

    @ApiModelProperty(value = "工艺名称")
    private String na;

    @ApiModelProperty(value = "工艺描述")
    private String remark;


    @ApiModelProperty(value = "所需设备编号")
    private String eqbn;


    private String tlbn;//所需工装编号

    @ApiModelProperty(value = "小时产量")
    private Double outph;


    @ApiModelProperty(value = "设备折旧")
    private Double depr;

    private Double pcwg;//工资定额
    private Double ec;//能耗
    private Double ep;//环保成本
    private String sbn;//场所编码
    private Double rt;//日租金

    @ApiModelProperty(value = "工装折旧")
    private Double tdepr;

    @ApiModelProperty(value = "适用产品编号")
    private String pid;

    private Integer rdm;//起步时长（分）

    private Double pdh;//每天开工小时数

    private Integer dwm;//换模时长（分）

    private String eid;//格式json 表示该设备对应的操作员工（多个）的姓名和id

    private Date date;

    private transient List<TProdstat> eqtask;//返回给前端的数据 统计表查询stat等于1和2的数据保存到eqtask字段中

}
